package com.jjyu.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("favorite_restaurants")
public class FavoriteRestaurant {
    @TableId
    private Integer favoriteId;  // 收藏ID

    private Integer userId;  // 用户ID

    private Integer restaurantId;  // 餐馆ID

    private LocalDateTime createdAt;  // 收藏时间

    private LocalDateTime updatedAt;  // 记录更新时间
}

